package com.corpgovernment.job.batchimport.entity.db;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author ldma
 * @date 2024/1/25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "mb_batch_import_error_line")
public class BatchImportErrorLineDo {

    @Id
    private Long id;
    private Long recordId;
    private Integer lineNum;
    private String errorInfo;
    private Boolean deleted;
    private Date createTime;
    private Date updateTime;

    public BatchImportErrorLineDo(Integer lineNum, String errorInfo) {
        this.lineNum = lineNum;
        this.errorInfo = errorInfo;
    }

}
